<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      p {
        /* height: 300px; */
        border: solid;
      }
    </style>
  </head>
  <body>
    <button id="btn">交卷</button>
    <script>
      const btn = document.getElementById("btn");

      btn.onclick = function (e) {
        if (e.shiftKey && e.ctrl) {
          console.log("交卷");
        }
      };
    </script>
  </body>
</html>
